package com.yswee.mallnavi.entity.info;

import com.yswee.mallnavi.context.ContextConstant;
import com.yswee.mallnavi.entity.BaseEntity;

public class CouponEntity extends BaseEntity {

    public String id;
    public String name;
    public String pictureUrl;
    public String descrption;
    public String hDescrption;
    public String startDate;
    public String endDate;

    public CouponEntity bottom;

    public String getDescription() {
        if (ContextConstant.IS_LANDSCAPE) {
            return hDescrption;
        } else {
            return descrption;
        }
    }
}
